//改文章
const path = require('path');
const shuJuKu = require(path.resolve('moKuai/shuJuKu.js'));

module.exports = async function gaiWenZhang(qingQiu, xiangYing, jieZhe) {
	if (qingQiu.path == '/gaiWenZhang') {
		let a = shuJuKu.gaiWenZhang(qingQiu.body.wHao, qingQiu.body);
		if (a.wHao == null) xiangYing.send('修改成功');
		else xiangYing.send('修改失败');
	}else jieZhe();
}